[IA64] make virt_to_maddr() to support both cached/uncached identity mapped area.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 17 Oct 2008 06:33:03 +0000 (15:33 +0900)
committerIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 17 Oct 2008 06:33:03 +0000 (15:33 +0900)
commitb4c854d5d2094f5a6266435095648a8b5a7a0e5e
treee7481317bf078e1362fce7e88ea96dfd2a191c1e
parent4530ccf3fed5be49d09678c9d2586c207d3de51e
[IA64] make virt_to_maddr() to support both cached/uncached identity mapped area.

The significant 8 bits of va are used by Xen,
such as 0xf2 is used as uncache mapping.

In function ioports_permit_access,
 mach_start = mmio_start | __pa(space->mmio_base);
Mach_start gets wrong physical address.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
xen/include/asm-ia64/linux-xen/asm/pgtable.h
xen/include/asm-ia64/xenpage.h